package com.dlcb.csd.service.impl;

import com.dlcb.csd.mappper.CityMapper;
import com.dlcb.csd.po.City;
import com.dlcb.csd.service.CityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author:薛亮亮
 * @Date 2020/12/24 0:54
 * @Discription:
 */
@Service
public class CityServiceImpl implements CityService {
    @Autowired
    private CityMapper cityMapper;
    @Override
    public List<City> findCitiesByPid(int pid) {
        return cityMapper.findCitiesByPid(pid);
    }
}
